/*
 * Exception.h
 *
 *  Created on: Feb 11, 2011
 *      Author: alki
 */

#ifndef EXCEPTION_H_
#define EXCEPTION_H_

#include <iostream>

using namespace std;

/**
 * Klasse Exception: Exception-Handling
 */
class Exception {
public:
	Exception(Exception *parent,string file,int line,string error,string detail,string info="");
	virtual ~Exception();

	void out();

private:
	Exception *m_parent;

	string m_file;
	int m_line;

	string m_error;
	string m_detail;
	string m_info;
};

#endif /* EXCEPTION_H_ */
